[INFO] cloning repository https://github.com/tonalbubble/coffeeshop_project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonalbubble/coffeeshop_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonalbubble%2Fcoffeeshop_project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonalbubble%2Fcoffeeshop_project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 74d3509c0bae80e542c2cdba93702f5be5e783c7
[INFO] fixing tonalbubble/coffeeshop_project against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonalbubble%2Fcoffeeshop_project" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tonalbubble/coffeeshop_project
[INFO] finished tweaking git repo https://github.com/tonalbubble/coffeeshop_project
[INFO] tweaked toml for git repo https://github.com/tonalbubble/coffeeshop_project written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tonalbubble/coffeeshop_project on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tonalbubble/coffeeshop_project already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 46 packages to latest Rust 1.98.0-nightly compatible versions
[INFO] [stderr]       Adding atomic-waker v1.1.2
[INFO] [stderr]       Adding axum v0.8.9
[INFO] [stderr]       Adding axum-core v0.5.6
[INFO] [stderr]       Adding bytes v1.12.0
[INFO] [stderr]       Adding errno v0.3.14
[INFO] [stderr]       Adding form_urlencoded v1.2.2
[INFO] [stderr]       Adding futures-channel v0.3.32
[INFO] [stderr]       Adding futures-core v0.3.32
[INFO] [stderr]       Adding futures-task v0.3.32
[INFO] [stderr]       Adding futures-util v0.3.32
[INFO] [stderr]       Adding http v1.4.2
[INFO] [stderr]       Adding http-body v1.0.1
[INFO] [stderr]       Adding http-body-util v0.1.3
[INFO] [stderr]       Adding httparse v1.10.1
[INFO] [stderr]       Adding httpdate v1.0.3
[INFO] [stderr]       Adding hyper v1.10.1
[INFO] [stderr]       Adding hyper-util v0.1.20
[INFO] [stderr]       Adding libc v0.2.186
[INFO] [stderr]       Adding lock_api v0.4.14
[INFO] [stderr]       Adding log v0.4.33
[INFO] [stderr]       Adding matchit v0.8.4 (available: v0.8.6)
[INFO] [stderr]       Adding mime v0.3.17
[INFO] [stderr]       Adding mio v1.2.1
[INFO] [stderr]       Adding parking_lot v0.12.5
[INFO] [stderr]       Adding parking_lot_core v0.9.12
[INFO] [stderr]       Adding percent-encoding v2.3.2
[INFO] [stderr]       Adding pin-project-lite v0.2.17
[INFO] [stderr]       Adding redox_syscall v0.5.18
[INFO] [stderr]       Adding ryu v1.0.23
[INFO] [stderr]       Adding scopeguard v1.2.0
[INFO] [stderr]       Adding serde_path_to_error v0.1.20
[INFO] [stderr]       Adding serde_urlencoded v0.7.1
[INFO] [stderr]       Adding signal-hook-registry v1.4.8
[INFO] [stderr]       Adding slab v0.4.12
[INFO] [stderr]       Adding socket2 v0.6.4
[INFO] [stderr]       Adding sync_wrapper v1.0.2
[INFO] [stderr]       Adding tokio v1.52.3
[INFO] [stderr]       Adding tokio-macros v2.7.0
[INFO] [stderr]       Adding tower v0.5.3
[INFO] [stderr]       Adding tower-layer v0.3.3
[INFO] [stderr]       Adding tower-service v0.3.3
[INFO] [stderr]       Adding tracing v0.1.44
[INFO] [stderr]       Adding tracing-core v0.1.36
[INFO] [stderr]       Adding wasi v0.11.1+wasi-snapshot-preview1
[INFO] [stderr]       Adding windows-link v0.2.1
[INFO] [stderr]       Adding windows-sys v0.61.2
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hashlink v0.11.0
[INFO] [stderr]   Downloaded rsqlite-vfs v0.1.0
[INFO] [stderr]   Downloaded rusqlite v0.38.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.36.0
[INFO] [stderr]   Downloaded sqlite-wasm-rs v0.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ebab4d5f2d6b006ab2625c67bb62cfd3dc35c966855f50c18d6eecb1b97332a7
[INFO] running `Command { std: "docker" "start" "ebab4d5f2d6b006ab2625c67bb62cfd3dc35c966855f50c18d6eecb1b97332a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebab4d5f2d6b006ab2625c67bb62cfd3dc35c966855f50c18d6eecb1b97332a7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebab4d5f2d6b006ab2625c67bb62cfd3dc35c966855f50c18d6eecb1b97332a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebab4d5f2d6b006ab2625c67bb62cfd3dc35c966855f50c18d6eecb1b97332a7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking bytes v1.12.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cc v1.2.60
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking http v1.4.2
[INFO] [stderr]     Checking hashlink v0.11.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.36.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.4
[INFO] [stderr]     Checking mio v1.2.1
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking rusqlite v0.38.0
[INFO] [stderr]     Checking rust_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |         .route(path, method_router)
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:64:22
[INFO] [stdout]    |
[INFO] [stdout] 64 |         .route(path, method_router)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 |         .route(path, method_router)
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |         .route(path, method_router)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |         .route(path, method_router)
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 |         .route(path, method_router)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 67 |         .route(path, method_router)
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:67:22
[INFO] [stdout]    |
[INFO] [stdout] 67 |         .route(path, method_router)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |         .route(path, method_router);
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |         .route(path, method_router);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `app` in this scope
[INFO] [stdout]   --> src/main.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |     axum::serve(listener, app)
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::RandomState`
[INFO] [stdout]   --> src/model.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use std::hash::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/model.rs:141:15
[INFO] [stdout]     |
[INFO] [stdout] 141 |             if(*current_stock >= amount){
[INFO] [stdout]     |               ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -             if(*current_stock >= amount){
[INFO] [stdout] 141 +             if *current_stock >= amount {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Statement`
[INFO] [stdout]  --> src/database.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rusqlite::{Connection, Statement, Error};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `extract::State`
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use axum::{extract::State, Error, Router};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpListener`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Coffee`, `ItemOrder`, `Roast`, and `Size`
[INFO] [stdout]  --> src/main.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::model::{Coffee, Roast, ItemOrder, CustomerOrder, Size, Inventory};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^  ^^^^^^^^^                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/main.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | async fn main() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 |         Ok(a) => println!("Tables dropped successfully"),
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 |         Ok(a) => println!("Tables created successfully"),
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_project` (bin "rust_project") due to 12 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |         .route(path, method_router)
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:64:22
[INFO] [stdout]    |
[INFO] [stdout] 64 |         .route(path, method_router)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 |         .route(path, method_router)
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |         .route(path, method_router)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |         .route(path, method_router)
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 |         .route(path, method_router)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 67 |         .route(path, method_router)
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:67:22
[INFO] [stdout]    |
[INFO] [stdout] 67 |         .route(path, method_router)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]   --> src/main.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |         .route(path, method_router);
[INFO] [stdout]    |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `method_router` in this scope
[INFO] [stdout]   --> src/main.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |         .route(path, method_router);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `app` in this scope
[INFO] [stdout]   --> src/main.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |     axum::serve(listener, app)
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::RandomState`
[INFO] [stdout]   --> src/model.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use std::hash::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/model.rs:141:15
[INFO] [stdout]     |
[INFO] [stdout] 141 |             if(*current_stock >= amount){
[INFO] [stdout]     |               ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -             if(*current_stock >= amount){
[INFO] [stdout] 141 +             if *current_stock >= amount {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Statement`
[INFO] [stdout]  --> src/database.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rusqlite::{Connection, Statement, Error};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `extract::State`
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use axum::{extract::State, Error, Router};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpListener`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Coffee`, `ItemOrder`, `Roast`, and `Size`
[INFO] [stdout]  --> src/main.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::model::{Coffee, Roast, ItemOrder, CustomerOrder, Size, Inventory};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^  ^^^^^^^^^                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 |         Ok(a) => println!("Tables dropped successfully"),
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 |         Ok(a) => println!("Tables created successfully"),
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_project` (bin "rust_project" test) due to 11 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ebab4d5f2d6b006ab2625c67bb62cfd3dc35c966855f50c18d6eecb1b97332a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebab4d5f2d6b006ab2625c67bb62cfd3dc35c966855f50c18d6eecb1b97332a7", kill_on_drop: false }`
[INFO] [stdout] ebab4d5f2d6b006ab2625c67bb62cfd3dc35c966855f50c18d6eecb1b97332a7
